package com.dsbj.mp.icardservice.entity.msgcenter;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dsbj.mp.icardservice.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 消息信息表
 * </p>
 *
 * @author cjw
 * @since 2020-02-21
 */
@Data
@Accessors(chain = true)
@TableName("H_M_MC_MESSAGE")
public class McMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息信息表主键
     */
    @TableId(value = "ID",type = IdType.UUID)
    private String id;

    /**
     * 标题
     */
    @TableField("TITLE")
    private String title;

    /**
     * 缩略图路径
     */
    @TableField("THUMBNAIL_URL")
    private String thumbnailUrl;

    /**
     * 描述
     */
    @TableField("DES")
    private String des;

    /**
     * 消息类别ID
     */
    @TableField("MCCATEID")
    private String mccateid;

    /**
     * 身份证号
     */
    @TableField("IDCARDNO")
    private String idcardno;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 消息状态(1 未读; 2 已读;)
     */
    @TableField("STATUS")
    private Integer status;

    @TableField("CREATE_TIME")
    private Date createTime;

    @TableField("CREATE_USER")
    private String createUser;

    @TableField("UPDATE_TIME")
    private Date updateTime;

    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 跳转类型(0 不跳转;)
     */
    @TableField("JUMP_TYPE")
    private Integer jumpType;

    /**
     * 跳转时传入的参数
     */
    @TableField("JUMP_VALUE")
    private String jumpValue;


}
